package com.flatshare.project;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class WebSite extends Activity{

	String url;
	WebView webSiteWebView;
	
	protected void onCreate(Bundle WebSiteScreen) {
		
		super.onCreate(WebSiteScreen);
		setContentView(R.layout.webpage);
		
		setVariables();
		
		webSiteWebView.loadUrl(url);
	}
	
	private void setVariables() {
		
		url = "http://58.96.55.69/register.php";
		webSiteWebView = (WebView) findViewById(R.id.wvWeb);
	}

	@Override
	protected void onPause() {
		
		super.onPause();
		finish();
	}
}
